﻿#region

using YouTubePlaylist.Models;
using YouTubePlaylist.MusicVideoService;

#endregion

namespace YouTubePlaylist.Views
{
    public partial class PlaylistCategoryCtrl
    {
        private readonly SearchModel _ac = new SearchModel();
        private readonly VideoPlaylist _playlist;

        public PlaylistCategoryCtrl(VideoPlaylist playlist)
        {
            InitializeComponent();
            _playlist = playlist;
            DataContext = _ac;
        }

        public VideoPlaylist Playlist
        {
            get { return _playlist; }
        }

        public SearchModel AutoComplete
        {
            get { return _ac; }
        }
    }
}